package com.sabm.model;

import org.codehaus.jackson.annotate.JsonIgnore;

public class Phone  implements java.io.Serializable {


     private Integer idPhone;
     private Contact contact;
     private String phone;
     private boolean remove;

    public Phone() {
    }

    public Phone(Contact contact, String phone) {
       this.contact = contact;
       this.phone = phone;
    }
   
    public Integer getIdPhone() {
        return this.idPhone;
    }
    
    public void setIdPhone(Integer idPhone) {
        this.idPhone = idPhone;
    }
    @JsonIgnore
    public Contact getContact() {
        return this.contact;
    }
    
    public void setContact(Contact contact) {
        this.contact = contact;
    }
    public String getPhone() {
        return this.phone;
    }
    
    public void setPhone(String phone) {
        this.phone = phone;
    }
    
    public boolean isRemove(){
    	return remove;
    }
    public void setRemove(boolean remove){
    	this.remove = remove;
    }



}


